cmake_minimum_required(VERSION 3.2)

project(yaml_test)

add_definitions(-std=c++11)
#set(CMAKE_CXX_STANDARD 11)

include_directories(/usr/local/include/yaml-cpp)    #Header file path
set(SRCS ./example.cpp)
add_executable(yamltest ${SRCS})

target_link_libraries(yamltest /usr/local/lib/libyaml-cpp.a)
